<?php
class TestController extends Controller{
	function Index(){
		echo 'This is TestController Index';
	}
	function Login(){
		$this->display('index.htm');
	}
	
	//Use Default Model
	function te(){
		$this->Test->hello();
		$this->display='index.htm';
	}
	
	//Use Admin Controller
	function test(){
		$control=loadController('Admin');
		$control->addCat();
		$this->display='admin/setpwd.htm';
	}
	
	//Use Admin Model
	function test2(){
		$member=loadModel('member');
		$member->test();
	}
}
?>